<!--增加过滤器解决恶意html及None问题-->
<%!
def ESC_BLANK(text):
    if text=="None":
        return ""
    else:
        return text
%>
<%page expression_filter="h,ESC_BLANK"/>
<style>
    .input input{width:60px;border:1px solid #000;background-color:#aaFFaa;}
    .gray{background-color:#fafafa;}
    .yellow{background-color:#ffffdd;}
    .green{background-color:#99CC00;}
    .red{background-color:#ffdddd;}
    .lightgreen{background-color:#ddffdd;}
    .deepgreen{background-color:#339966;}
</style>
<table class="table" style="margin:0px">
    <thead>
    <tr>
        <th>银行编号</th>
        <th>公司名称</th>
        <th>银行名称</th>
        <th>开户地址</th>
        <th>账号</th>
        <th>客户经理姓名</th>
        <th>联系电话</th>
        <th>备注</th>
        <th>状态</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    %for data in i.recs:

    %if data.bankstatus=='N':
        <tr style="background-color: #c5c5c5">
    %else:
        <tr>
    %endif
	<td>${data.bankno}</td>
    <td>${data.incname}</td>
	<td>${data.bankname}</td>
	<td>${data.addressdetail}</td>
	<td>${data.accountno}</td>
	<td>${data.customermanager}</td>
	<td>${data.managerphoneno}</td>
    <td>
        %if data.bankstatus=='N':
        失效
        %else:
        有效
        %endif
    </td>
	<td>${data.bz}</td>
        <td>
            %if data.bankstatus=="N":
            <a href="javascript:;" onclick="doon('${data.id}')">生效</a> |
            %else:
            <a href="javascript:;" onclick="dooff('${data.id}')">注销</a> |
            %endif
            <a href="javascript:;" onclick="doedit('${data.id}')">修改</a> | <a href="javascript:;" onclick="dodel('${data.id}')">删除</a></td>
    </tr>
    %endfor
    </tbody>
</table>
<script type="text/javascript" src="/static/Skins_/js/settings.js"></script>
